swift order dictionary by key

144

let sortedKeys = Array(dictionary.keys).sort(<) // ["A", "D", "Z"]

Comments

Submit
0 Comments